package com.gsmr.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.gsmr.dao.UserDao;
import com.gsmr.entity.User;
import com.gsmr.service.RealTimeMonitoringService;
import com.gsmr.service.UserService;
import com.gsmr.util.PropertityUtil;
import com.gsmr.util.RandomUtil;

/**
 * 用户Service实现类
 * @author user
 *
 */
@Service("realTimeMonitoringService")
public class RealTimeMonitoringServiceImpl implements RealTimeMonitoringService{

	public Map<String, Integer> getCurrentQuantity() {
		Map<String, Integer> m = new HashMap<String, Integer>();
		RandomUtil.generateRandomRealTimeQuantity();
		m.put("FrequencySpectrum_CURRENT_QUANTITY", PropertityUtil.FrequencySpectrum_CURRENT_QUANTITY);
		m.put("SDCCH_CURRENT_QUANTITY", PropertityUtil.SDCCH_CURRENT_QUANTITY);
		m.put("SACCH_CURRENT_QUANTITY", PropertityUtil.SACCH_CURRENT_QUANTITY);
		m.put("FACCH_CURRENT_QUANTITY", PropertityUtil.FACCH_CURRENT_QUANTITY);
		m.put("TCH_CURRENT_QUANTITY", PropertityUtil.TCH_CURRENT_QUANTITY);
		return m;
	}

}
